<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="/tld/sitemesh-decorator.tld" prefix="decorator"%>
<%@ include file="/common/taglibs.jsp"%>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
		<meta http-equiv="Cache-Control" content="no-store" />
		<meta http-equiv="Pragma" content="no-cache" />
		<meta http-equiv="Expires" content="0" />
		<link href="<c:url value='/css/reset-fonts-grids.css'/>" type="text/css" rel="stylesheet">
		<link href="<c:url value='/css/base.css'/>" type="text/css" rel="stylesheet">
		<script src="<c:url value='/js/base.js'/>" type="text/javascript"></script>
		<style type="text/css">
		body {
			min-height:570px;
			_height:570px;
		}
		</style>
		<title><decorator:title default="斯柯达广域网" /></title>
		<decorator:head />
	</head>
	<body style="background-color:	#D7E7DD;">
		<div id="doc3" class="yui-t7">
			<div id="hd">
				<div style="width:100%;height:20px;text-align:right;">
					<h3 style="padding:3px 5px;">
						<c:if test="${pageContext.request.remoteUser != null}">
							<authz:authentication operation="username" /> &#27426;&#36814;&#20320;&#65281;&nbsp;&nbsp;
		    			</c:if>
						<a href="<c:url value='/j_acegi_logout'/>">&#36864;&#20986;</a>
					</h3>
				</div>
				<div id="menu" style="height:18px;line-height:18px;font-weight:bold;padding:15px 8px 5px 8px;text-align:center;">
					<a id="menu1" href="user.do">用户管理</a>&nbsp;&nbsp;&nbsp; <a id="menu2" href="role.do">角色管理</a>&nbsp;&nbsp;&nbsp; <a id="menu3" href="resource.do">资源管理</a>&nbsp;&nbsp;&nbsp; <a id="menu4" href="menu.do">菜单管理</a>&nbsp;&nbsp;&nbsp; <a id="menu5"
						href="dictionary.do">字典管理</a>&nbsp;&nbsp;&nbsp; <a id="menu6" href="attach.do">附件管理</a>&nbsp;&nbsp;&nbsp;
				</div>
			</div>
			<div id="bd" style="padding:10px 50px;">
				<div class="yui-g">
					<div id="messageContainer">
						<%@ include file="/common/messages.jsp"%>
					</div>
					<div style="text-align:right">
						<a href="../skosite/index.jsp">返回招募首页</a>
					</div>
					<!-- ============================ main body ============================== -->
					<decorator:body />
				</div>
			</div>
		</div>
	</body>
	<script type="text/javascript">
			function changeTitle(){
				var title = '<decorator:title default="" />';
				var num = 0;
				if(title == "") num = 0;
				if(title.indexOf("用户") > -1) num = 1;
				if(title.indexOf("角色") > -1) num = 2;
				if(title.indexOf("资源") > -1) num = 3;
				if(title.indexOf("菜单") > -1) num = 4;
				if(title.indexOf("字典") > -1) num = 5;
				if(title.indexOf("附件") > -1) num = 6;
				for(var i = 1;i < 7 ;i++){
					var m = document.getElementById("menu" + i);
					if(m) m.style.color = "#000";
				}
				m = document.getElementById("menu" + num);
				if(m) m.style.color = "#D87622";
			}
		changeTitle();
	</script>
</html>
